package com.hsck.order.kds.main.fragment.standard.vm

import com.hsck.order.kds.base.isnoam.network.RetrofitManager
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module

val standardLib = module {

    single {
        RetrofitManager.initRetrofit().getService(StandardApi::class.java)
    }

    single {
        StandardRepository(get())
    }

    viewModel { StandardModel(get()) }
}